Optimal. Leaf size=49 \[ \frac {\tan ^{-1}\left (\frac {x \sqrt {d e-c f}}{\sqrt {c} \sqrt {e+f x^2}}\right )}{\sqrt {c} \sqrt {d e-c f}} \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 49, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {377, 205} \begin {gather*} \frac {\tan ^{-1}\left (\frac {x \sqrt {d e-c f}}{\sqrt {c} \sqrt {e+f x^2}}\right )}{\sqrt {c} \sqrt {d e-c f}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 205
Rule 377
Rubi steps
\begin {align*} \int \frac {1}{\left (c+d x^2\right ) \sqrt {e+f x^2}} \, dx &=\operatorname {Subst}\left (\int \frac {1}{c-(-d e+c f) x^2} \, dx,x,\frac {x}{\sqrt {e+f x^2}}\right )\\ &=\frac {\tan ^{-1}\left (\frac {\sqrt {d e-c f} x}{\sqrt {c} \sqrt {e+f x^2}}\right )}{\sqrt {c} \sqrt {d e-c f}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 49, normalized size = 1.00 \begin {gather*} \frac {\tan ^{-1}\left (\frac {x \sqrt {d e-c f}}{\sqrt {c} \sqrt {e+f x^2}}\right )}{\sqrt {c} \sqrt {d e-c f}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [B] time = 0.11, size = 103, normalized size = 2.10 \begin {gather*} -\frac {\tan ^{-1}\left (\frac {d \sqrt {f} x^2}{\sqrt {c} \sqrt {d e-c f}}-\frac {d x \sqrt {e+f x^2}}{\sqrt {c} \sqrt {d e-c f}}+\frac {\sqrt {c} \sqrt {f}}{\sqrt {d e-c f}}\right )}{\sqrt {c} \sqrt {d e-c f}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.56, size = 241, normalized size = 4.92 \begin {gather*} \left [-\frac {\sqrt {-c d e + c^{2} f} \log \left (\frac {{\left (d^{2} e^{2} - 8 \, c d e f + 8 \, c^{2} f^{2}\right )} x^{4} + c^{2} e^{2} - 2 \, {\left (3 \, c d e^{2} - 4 \, c^{2} e f\right )} x^{2} - 4 \, {\left ({\left (d e - 2 \, c f\right )} x^{3} - c e x\right )} \sqrt {-c d e + c^{2} f} \sqrt {f x^{2} + e}}{d^{2} x^{4} + 2 \, c d x^{2} + c^{2}}\right )}{4 \, {\left (c d e - c^{2} f\right )}}, \frac {\arctan \left (\frac {\sqrt {c d e - c^{2} f} {\left ({\left (d e - 2 \, c f\right )} x^{2} - c e\right )} \sqrt {f x^{2} + e}}{2 \, {\left ({\left (c d e f - c^{2} f^{2}\right )} x^{3} + {\left (c d e^{2} - c^{2} e f\right )} x\right )}}\right )}{2 \, \sqrt {c d e - c^{2} f}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.36, size = 74, normalized size = 1.51 \begin {gather*} -\frac {\sqrt {f} \arctan \left (\frac {{\left (\sqrt {f} x - \sqrt {f x^{2} + e}\right )}^{2} d + 2 \, c f - d e}{2 \, \sqrt {-c^{2} f^{2} + c d f e}}\right )}{\sqrt {-c^{2} f^{2} + c d f e}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.01, size = 306, normalized size = 6.24 \begin {gather*} -\frac {\ln \left (\frac {\frac {2 \sqrt {-c d}\, \left (x -\frac {\sqrt {-c d}}{d}\right ) f}{d}-\frac {2 \left (c f -d e \right )}{d}+2 \sqrt {-\frac {c f -d e}{d}}\, \sqrt {\left (x -\frac {\sqrt {-c d}}{d}\right )^{2} f +\frac {2 \sqrt {-c d}\, \left (x -\frac {\sqrt {-c d}}{d}\right ) f}{d}-\frac {c f -d e}{d}}}{x -\frac {\sqrt {-c d}}{d}}\right )}{2 \sqrt {-c d}\, \sqrt {-\frac {c f -d e}{d}}}+\frac {\ln \left (\frac {-\frac {2 \sqrt {-c d}\, \left (x +\frac {\sqrt {-c d}}{d}\right ) f}{d}-\frac {2 \left (c f -d e \right )}{d}+2 \sqrt {-\frac {c f -d e}{d}}\, \sqrt {\left (x +\frac {\sqrt {-c d}}{d}\right )^{2} f -\frac {2 \sqrt {-c d}\, \left (x +\frac {\sqrt {-c d}}{d}\right ) f}{d}-\frac {c f -d e}{d}}}{x +\frac {\sqrt {-c d}}{d}}\right )}{2 \sqrt {-c d}\, \sqrt {-\frac {c f -d e}{d}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{{\left (d x^{2} + c\right )} \sqrt {f x^{2} + e}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \left \{\begin {array}{cl} \frac {\mathrm {atan}\left (\frac {x\,\sqrt {d\,e-c\,f}}{\sqrt {c}\,\sqrt {f\,x^2+e}}\right )}{\sqrt {-c\,\left (c\,f-d\,e\right )}} & \text {\ if\ \ }0<d\,e-c\,f\\ \frac {\ln \left (\frac {\sqrt {c\,\left (f\,x^2+e\right )}+x\,\sqrt {c\,f-d\,e}}{\sqrt {c\,\left (f\,x^2+e\right )}-x\,\sqrt {c\,f-d\,e}}\right )}{2\,\sqrt {c\,\left (c\,f-d\,e\right )}} & \text {\ if\ \ }d\,e-c\,f<0\\ \int \frac {1}{\left (d\,x^2+c\right )\,\sqrt {f\,x^2+e}} \,d x & \text {\ if\ \ }d\,e-c\,f\notin \mathbb {R}\vee c\,f=d\,e \end {array}\right . \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\left (c + d x^{2}\right ) \sqrt {e + f x^{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________